package model;

public class DailyMission {
	String programId;
	String userId;
	int day;
	String isCheckFood1;
	String isCheckFood2;
	String isCheckFood3;
	String isCheckExer1;
	String isCheckExer2;
	String isCheckExer3;
	int todayWeight;
	String comment;
	
	public DailyMission(){
		programId = null;
		userId = null;
		day = -1;
		isCheckFood1 = null;
		isCheckFood2 = null;
		isCheckFood3 = null;
		isCheckExer1 = null;
		isCheckExer2 = null;
		isCheckExer3 = null;
		todayWeight = -1;
		comment = null;
	}
	
	public boolean validation() {
		if(programId == null)
			return false;
		if(userId == null)
			return false;
		if(day == -1)
			return false;
		if(isCheckFood1 == null)
			return false;
		if(isCheckFood2 == null)
			return false;
		if(isCheckFood3 == null)
			return false;
		if(isCheckExer1 == null)
			return false;
		if(isCheckExer2 == null)
			return false;
		if(isCheckExer3 == null)
			return false;
		if(todayWeight == -1)
			return false;
		if(comment == null)
			return false;
		return true;
	}
	public String getProgramId() {
		return programId;
	}
	public void setProgramId(String programId) {
		this.programId = programId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int getDay() {
		return day;
	}
	public void setDay(int day) {
		this.day = day;
	}
	public String getIsCheckFood1() {
		return isCheckFood1;
	}
	public void setIsCheckFood1(String isCheckFood1) {
		this.isCheckFood1 = isCheckFood1;
	}
	public String getIsCheckFood2() {
		return isCheckFood2;
	}
	public void setIsCheckFood2(String isCheckFood2) {
		this.isCheckFood2 = isCheckFood2;
	}
	public String getIsCheckFood3() {
		return isCheckFood3;
	}
	public void setIsCheckFood3(String isCheckFood3) {
		this.isCheckFood3 = isCheckFood3;
	}
	public String getIsCheckExer1() {
		return isCheckExer1;
	}
	public void setIsCheckExer1(String isCheckExer1) {
		this.isCheckExer1 = isCheckExer1;
	}
	public String getIsCheckExer2() {
		return isCheckExer2;
	}
	public void setIsCheckExer2(String isCheckExer2) {
		this.isCheckExer2 = isCheckExer2;
	}
	public String getIsCheckExer3() {
		return isCheckExer3;
	}
	public void setIsCheckExer3(String isCheckExer3) {
		this.isCheckExer3 = isCheckExer3;
	}
	public int getTodayWeight() {
		return todayWeight;
	}
	public void setTodayWeight(int todayWeight) {
		this.todayWeight = todayWeight;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

	
}
